
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(YH_Grade))]
    public class YH_GradeDto : Dto
    {
        /// <summary>
        /// 隐患等级
        /// </summary>
        public String Level { get; set; }
        /// <summary>
        /// 风险分值
        /// </summary>
        public decimal? Points { get; set; }
        /// <summary>
        /// 关注范围
        /// </summary>
        public String Focus { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Guid? UpdateDept { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? CreateFactory { get; set; }


        public String PostNames { get; set; }

        /// <summary>
        /// 是否为重大隐患
        /// </summary>
        public bool IsMajor { get; set; }
        /// <summary>
        /// 隐患等级通知岗位
        /// </summary>
        public List<YH_GradePostDto> YH_GradePost { get; set; }
    }
}
